<template>
	<div class="box">
		{{ 1 + 1 }}
	</div>
	<button @click="add">添加</button>
</template>
<script>
export default {
	data() {
		return {
			src: ''
		}
	},
	methods: {
		add() {
			console.log(`helloworld`);
		}
	},
	mounted() {
	}
}
</script>
<style lang="scss">
.box {
	width: 100px;
	height: 100px;
	border: 1px solid #000;
}
</style>